package com.woniuxy.article.mapper;


import com.hc.entity.Paper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @ClassName articleMapper
 * @Description
 * @Author TJ
 * @Date 2022/10/19 19:14
 * @Version 1.0
 **/
@Mapper
public interface
ArticleMapper {
    @Select("SELECT * FROM hc_paper WHERE TEXT LIKE '%${message}%'")
    List<Paper> getByMessage(String message);
}
